\hypertarget{classduye_1_1_ini_file}{\section{duye\-:\-:Ini\-File Class Reference}
\label{classduye_1_1_ini_file}\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}}
}


P\-O\-S\-I\-X condition wrapper.  




{\ttfamily \#include $<$duye\-\_\-ini.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classduye_1_1_ini_file_abc548236feebadd6239ebe1876dc689b}{Ini\-File} (const std\-::string \&file\-Path)
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a5842c43175b478df89db7e91a2d5eb0c}{load\-File} (const std\-::string \&file\-Path)
\begin{DoxyCompactList}\small\item\em load file \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_ae90d092246c8ba56debc22fffd96b36d}{import\-Data} (const std\-::string \&data)
\begin{DoxyCompactList}\small\item\em import data from buffer \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a05ad489001bac0ef47fbd54980bbaec6}{import\-Data} (const int8 $\ast$data, const uint64 length)
\begin{DoxyCompactList}\small\item\em import data from buffer \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a76832d57aab72aeb272855b26571a43d}{get\-Para\-Val} (const std\-::string \&section, const std\-::string \&para\-Name, std\-::string \&value)
\begin{DoxyCompactList}\small\item\em get value \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a58c5a35a5b302e2d8e2c9c026f5429fb}{set\-Para\-Val} (const std\-::string \&section, const std\-::string \&para\-Name, const std\-::string \&value)
\begin{DoxyCompactList}\small\item\em set value \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a40d188a67ea208958ca9d544723e94d3}{del\-Section} (const std\-::string \&section)
\begin{DoxyCompactList}\small\item\em del section \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a2479635b1a885fb65f54e865ed34f720}{del\-Para} (const std\-::string \&section, const std\-::string \&para\-Name)
\begin{DoxyCompactList}\small\item\em del parameter \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a6a18ae638d0108c4fa4a3d5f187e42a3}{save\-File} ()
\begin{DoxyCompactList}\small\item\em save configuration to file \end{DoxyCompactList}\item 
bool \hyperlink{classduye_1_1_ini_file_a669987a30b173810ebf5e2ea10342b17}{save\-File} (const std\-::string \&file\-Path)
\begin{DoxyCompactList}\small\item\em save configuration to file \end{DoxyCompactList}\item 
uint8 $\ast$ \hyperlink{classduye_1_1_ini_file_a7181a6b614c4742112ebf2755b8b6579}{error} ()
\begin{DoxyCompactList}\small\item\em get error string \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
P\-O\-S\-I\-X condition wrapper. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classduye_1_1_ini_file_abc548236feebadd6239ebe1876dc689b}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!Ini\-File@{Ini\-File}}
\index{Ini\-File@{Ini\-File}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{Ini\-File}]{\setlength{\rightskip}{0pt plus 5cm}duye\-::\-Ini\-File\-::\-Ini\-File (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{file\-Path}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_abc548236feebadd6239ebe1876dc689b}


constructor 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file\-Path} & \-: file path \\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}

\end{DoxyNote}


\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_ini_file_a2479635b1a885fb65f54e865ed34f720}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!del\-Para@{del\-Para}}
\index{del\-Para@{del\-Para}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{del\-Para}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::del\-Para (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{section, }
\item[{const std\-::string \&}]{para\-Name}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a2479635b1a885fb65f54e865ed34f720}


del parameter 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em section} & \-: section name \\
\hline
\mbox{\tt in}  & {\em para\-Name} & \-: parameter name \\
\hline
\mbox{\tt in}  & {\em value} & \-: set value \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a40d188a67ea208958ca9d544723e94d3}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!del\-Section@{del\-Section}}
\index{del\-Section@{del\-Section}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{del\-Section}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::del\-Section (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{section}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a40d188a67ea208958ca9d544723e94d3}


del section 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em section} & \-: section name \\
\hline
\mbox{\tt in}  & {\em para\-Name} & \-: parameter name \\
\hline
\mbox{\tt in}  & {\em value} & \-: set value \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a7181a6b614c4742112ebf2755b8b6579}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!error@{error}}
\index{error@{error}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{error}]{\setlength{\rightskip}{0pt plus 5cm}uint8$\ast$ duye\-::\-Ini\-File\-::error (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a7181a6b614c4742112ebf2755b8b6579}


get error string 

\begin{DoxyReturn}{Returns}
error string 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a76832d57aab72aeb272855b26571a43d}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!get\-Para\-Val@{get\-Para\-Val}}
\index{get\-Para\-Val@{get\-Para\-Val}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{get\-Para\-Val}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::get\-Para\-Val (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{section, }
\item[{const std\-::string \&}]{para\-Name, }
\item[{std\-::string \&}]{value}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a76832d57aab72aeb272855b26571a43d}


get value 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em section} & \-: section name \\
\hline
\mbox{\tt in}  & {\em para\-Name} & \-: parameter name \\
\hline
\mbox{\tt out}  & {\em value} & \-: return value \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_ae90d092246c8ba56debc22fffd96b36d}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!import\-Data@{import\-Data}}
\index{import\-Data@{import\-Data}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{import\-Data}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::import\-Data (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{data}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_ae90d092246c8ba56debc22fffd96b36d}


import data from buffer 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & \-: file data \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a05ad489001bac0ef47fbd54980bbaec6}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!import\-Data@{import\-Data}}
\index{import\-Data@{import\-Data}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{import\-Data}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::import\-Data (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{data, }
\item[{const uint64}]{length}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a05ad489001bac0ef47fbd54980bbaec6}


import data from buffer 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em data} & \-: file data \\
\hline
\mbox{\tt in}  & {\em length} & \-: data length \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a5842c43175b478df89db7e91a2d5eb0c}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!load\-File@{load\-File}}
\index{load\-File@{load\-File}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{load\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::load\-File (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{file\-Path}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a5842c43175b478df89db7e91a2d5eb0c}


load file 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em file\-Path} & \-: file path \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a6a18ae638d0108c4fa4a3d5f187e42a3}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!save\-File@{save\-File}}
\index{save\-File@{save\-File}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{save\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::save\-File (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a6a18ae638d0108c4fa4a3d5f187e42a3}


save configuration to file 

\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a669987a30b173810ebf5e2ea10342b17}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!save\-File@{save\-File}}
\index{save\-File@{save\-File}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{save\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::save\-File (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{file\-Path}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a669987a30b173810ebf5e2ea10342b17}


save configuration to file 

\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}
\hypertarget{classduye_1_1_ini_file_a58c5a35a5b302e2d8e2c9c026f5429fb}{\index{duye\-::\-Ini\-File@{duye\-::\-Ini\-File}!set\-Para\-Val@{set\-Para\-Val}}
\index{set\-Para\-Val@{set\-Para\-Val}!duye::IniFile@{duye\-::\-Ini\-File}}
\subsubsection[{set\-Para\-Val}]{\setlength{\rightskip}{0pt plus 5cm}bool duye\-::\-Ini\-File\-::set\-Para\-Val (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{section, }
\item[{const std\-::string \&}]{para\-Name, }
\item[{const std\-::string \&}]{value}
\end{DoxyParamCaption}
)}}\label{classduye_1_1_ini_file_a58c5a35a5b302e2d8e2c9c026f5429fb}


set value 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em section} & \-: section name \\
\hline
\mbox{\tt in}  & {\em para\-Name} & \-: parameter name \\
\hline
\mbox{\tt in}  & {\em value} & \-: set value \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true/false 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/utils/\hyperlink{duye__ini_8h}{duye\-\_\-ini.\-h}\end{DoxyCompactItemize}
